//
//  ReceiveAddressCell.m
//  YunGou
//
//  Created by macbook on 16/6/12.
//  Copyright © 2016年 macbook. All rights reserved.
//

#import "ReceiveAddressCell.h"
@interface ReceiveAddressCell ()
@property (weak, nonatomic) IBOutlet UILabel *receiverLabel;
@property (weak, nonatomic) IBOutlet UILabel *mobileLabel;
@property (weak, nonatomic) IBOutlet UIImageView *isDefaultImg;
@property (weak, nonatomic) IBOutlet UILabel *receiveAddressLabel;
@end

@implementation ReceiveAddressCell

- (void)awakeFromNib {
    // Initialization code
}

- (void)setReceiveAddressModel:(ReceiveAddressModel *)receiveAddressModel{
    _receiverLabel.text = receiveAddressModel.shouhuoren;
    _mobileLabel.text = receiveAddressModel.mobile;
    _isDefaultImg.hidden = [receiveAddressModel.isDefault isEqualToString:@"Y"]?NO:YES;
    _receiveAddressLabel.text = [NSString stringWithFormat:@"%@%@",receiveAddressModel.sheng,receiveAddressModel.jiedao];
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
